package cn.csxw.openchina.dagger2.module;

import cn.csxw.openchina.dagger2.presenter.MyMovePresenter;
import cn.csxw.openchina.ui.fragment.moveFragment.MyMoveFragment;
import dagger.Module;
import dagger.Provides;

/**
 * 动弹模块的我的动弹界面的Module类
 */

@Module
public class MyMoveModule {
    private MyMoveFragment mMyMoveFragment;

    public MyMoveModule(MyMoveFragment mMyMoveFragment){
        this.mMyMoveFragment = mMyMoveFragment;
    }

    @Provides
    public MyMovePresenter providesMyMovePresenter(){
        return new MyMovePresenter(mMyMoveFragment);
    }

    @Provides
    public MyMoveFragment providesMyMoveFragment(){
        return mMyMoveFragment;
    }

}
